<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
 
<link rel="stylesheet" type="text/css"
	href="__PUBLIC__/ueditor/themes/default/ueditor.css" />

<style>
.myEditor {
	width: 1024px;
}
</style>

<script type="text/javascript">


		$(document).ready(function(){
		  //元素值设定
			//$('input:radio[name="publishindex"]').attr("checked",'0');
			
		});


	
	    function demo(){	
	    	//alert($('input:radio[name="r1"]:checked').val()); 
		    /*
	    	editor.sync();
			$.post('__URL__/bulletinInsert',
    	    {	
	    	    'id':"{$vo['id']}",	    	    
	    	    'mark':"{$mark}" ,
				'rel':$("#rel").val(),
	    		'title':$("#title").val(),
	    		'content':editor.getContent(),
	    		'module':$("#module").val(),
	    		'author':$("#author").val(),	    	    		
	    		'rel':$("#rel").val(),
	    		'summary':$("#summary").val(),
	    		'submodule':$("#submodule").val(),
	    		'xFilePath':$("#xFilePath").val()
	    	},
			    function(data){
					alert(data.info);					
			    },
		    'json');	
		    */
	    }
	</script>
</head>
<body>
<form method="post" action="__URL__/bulletinInsert"
	class="pageForm required-validate"
	onsubmit="return local_validateCallback(this)"><input
	type="hidden" name="mark" value="{$mark}" /> <input type="hidden"
	name="id" value="{$vo['id']}" /> <include
	file="./Tpl/default/Bulletin/common.html" /> <input type="hidden"
	name="callbackType" value="forward"> <input type="hidden"
	name="forwardUrl" value="__URL__/index">
<div id="myEditor"></div>
</form>

<div id="god" class="panel" defH="160"><!-- 
			<script type="text/plain" id="myEditor">
				{$vo['content']}	
			</script>
			 --> 
			 <script type="text/javascript">			
				var option = {
					initialContent: '{$vo['content']}',//初始化编辑器的内容		            
		            textarea: 'editorcontent'		            
		        };
			    var editor = new baidu.editor.ui.Editor(option);   			   
			    editor.render('myEditor');
			    editor.focus();
			</script></div>


</body>
</html>
